<div id="score-company">
    <form class="search" >
        <div class="input">
            贷款企业：
            <input type="text" placeholder="请输入贷款企业名称" ng-model="companyName">
        </div>
        <div class="input">
            评分状态：
            <select name="" ng-model="rate_state">
                <option value="" selected>请选择</option>
                <option value="1">未评分</option>
                <option value="0">已评分</option>
            </select>
        </div>
        <button class="btn-search font-white search-creatPe" ng-click="getCompanyRateList()">查询</button>
    </form>
    <!--内容-->
    <table class="list-table text-c">
        <thead class="bg-green font-white">
            <tr>
                <th>贷款企业</th>
                <th>联系方式</th>
                <th>评分状态</th>
                <th>得分</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="item in scoreList">
                <td ng-bind="item.company_name"></td>
                <td ng-bind="item.user_phone"></td>
                <td ng-bind="item.gradeStatus | scoreStatus"></td>
                <td ng-bind="item.totalScore"></td>
                <td class="font-yellow cursor">
                    <span ng-click="toScoreDetail(item)" ng-if="item.gradeStatus == 1">评分</span>
                </td>
            </tr>
            <!--如果没有数据-->
            <tr ng-show="!scoreList || scoreList.length == 0">
                <td colspan="5">暂无授信数据</td>
            </tr>
        </tbody>
    </table>
    <!--分页组件-->
    <app-page ng-if="totalPage > 1" current="currentPage" totals="totalPage" fn="changePage"></app-page>
</div>